/*
 * kylin-os-manager
 *
 * Copyright (C) 2022, KylinSoft Co., Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#include "crash_info.h"

namespace crash_collection
{

QByteArray CrashInfo::getPid(void)
{
    return m_pid;
}

void CrashInfo::setPid(QByteArray pid)
{
    m_pid = pid;
    return;
}

QByteArray CrashInfo::getSignal(void)
{
    return m_signal;
}

void CrashInfo::setSignal(QByteArray signal)
{
    m_signal = signal;
    return;
}

QByteArray CrashInfo::getArch(void)
{
    return m_arch;
}

void CrashInfo::setArch(QByteArray arch)
{
    m_arch = arch;
    return;
}

QByteArray CrashInfo::getCmd(void)
{
    return m_cmd;
}

void CrashInfo::setCmd(QByteArray cmd)
{
    m_cmd = cmd;
    return;
}

QByteArray CrashInfo::getBinPath(void)
{
    return m_binPath;
}

void CrashInfo::setBinPath(QByteArray binPath)
{
    m_binPath = binPath;
    return;
}

QByteArray CrashInfo::getTime(void)
{
    return m_time;
}

void CrashInfo::setTime(QByteArray time)
{
    m_time = time;
    return;
}

QByteArray CrashInfo::getBackTrace(void)
{
    return m_backTrace;
}

void CrashInfo::setBackTrace(QByteArray backTrace)
{
    m_backTrace = backTrace;
    return;
}

QByteArray CrashInfo::getPackageName(void)
{
    return m_packageName;
}

void CrashInfo::setPackageName(QByteArray packageName)
{
    m_packageName = packageName;
    return;
}

QByteArray CrashInfo::getPackageVersion(void)
{
    return m_packageVersion;
}
void CrashInfo::setPackageVersion(QByteArray packageVersion)
{
    m_packageVersion = packageVersion;
    return;
}

QByteArray CrashInfo::getPackageDepends(void)
{
    return m_packageDepends;
}

void CrashInfo::setPackageDepends(QByteArray packageDepends)
{
    m_packageDepends = packageDepends;
    return;
}

}